import { request } from './http.js'

// 随机6位小区
export const community = (params = {}) => request('post', '/community', params, {});
// Workbench  页面数据
export const Workbench = (params = {}) => request('post', '/Workbench', params, {});

//用户登录
export const loginFn = (params = {}) => request('post', '/login', params, {});

//自动登录接口
export const tokenFn = (params = {}) => request('post', '/auto_login', params, {});

//RegIonal  区域管理数据
export const RegIonalArea = (params = {}) => request('post', '/RegIonal_area', params, {});

//Gallery   楼座管理数据
export const Galleryfn = (params = {}) => request('post', '/Gallery', params, {});

//Building 房屋管理
export const Buildinglist = (params = {}) => request('post', '/Building', params, {});

//parKing  车位管理
export const parKinglistFn = (params = {}) => request('post', '/parKing', params, {});

//MonthCard 月卡管理
export const MonthCardFn = (params = {}) => request('post', '/MonthCard', params, {});

//Household 住户管理
export const HouseholdFn = (params = {}) => request('post', '/Household', params, {});

//Service 报修管理
export const Servicefn = (params = {}) => request('post', '/Service', params, {});


